﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="manage.aspx.cs" Inherits="manage" %>
<%@ MasterType  VirtualPath="~/MasterPage.master"%>
<asp:Content ID="manageContent" ContentPlaceHolderID="body" Runat="Server">
管理页面
<table width="100%" border="1">
<tr>
<td width="20" valign="top">
    <table width="20%">
        <tr><td>
            <asp:XmlDataSource ID="XmlDS_Leadin" runat="server" DataFile="~/Leadin.xml" 
                XPath="/*"></asp:XmlDataSource>
            <asp:TreeView ID="TreeView_Whole" runat="server" DataSourceID="XmlDS_Leadin" 
                onselectednodechanged="TreeView_Select">
                <SelectedNodeStyle BackColor="#0099FF" />
                <DataBindings>
                    <asp:TreeNodeBinding DataMember="leadin" TextField="name" />
                    <asp:TreeNodeBinding DataMember="node" TextField="name" />
                </DataBindings>
            </asp:TreeView>
        </td></tr>
        
        <tr><td>
            <asp:TextBox ID="TB_Input" runat="server" Text="新名称"></asp:TextBox><br />
            <asp:Button ID="Btn_Add" runat="server" Text="添加子项" onclick="Btn_Add_Click" />
            <asp:Button ID="Btn_Modify" runat="server" Text="修改" 
                onclick="Btn_Modify_Click" /><br />
            <asp:Button ID="Btn_Del" runat="server" Text="删除" onclick="Btn_Del_Click" />
            <asp:Button ID="Btn_Up" runat="server" Text="上移" onclick="Btn_Up_Click" />
            <asp:Button ID="Btn_Down" runat="server" Text="下移" onclick="Btn_Down_Click" />
            </td></tr>
    </table>
</td>
<td>
      <iframe id="contentFrame" runat="server" style="width:100%" height="500"></iframe>
</td>
</tr>
</table>
</asp:Content>

